package cn.walls1717.ggkt.vod.service;

import cn.walls1717.ggkt.model.vod.Video;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 课程视频服务接口
 *
 * @author walls1717
 * @since 2022/07/14
 */
public interface VideoService extends IService<Video> {

    /**
     * 根据课程id删除
     *
     * @param id 课程id
     */
    void removeByCourseId(Long id);

    /**
     * 根据videoId删除
     *
     * @param id 视频id
     */
    void deleteVideoById(Long id);
}
